package org.mspring.platform.security.dao;

import java.util.List;

import org.mspring.platform.dao.hibernate.IGenericDao;
import org.mspring.platform.security.entity.Resource;

/**
 *
 * @author Gao Youbo
 * @since 2014-01-11
 */
public interface ResourceDao extends IGenericDao<Resource, Long> {
    /**
     * 获取角色对应的资源
     *
     * @param roleId
     * @return
     */
    public List<Resource> listByRole(Long roleId);
}
